1bashThis demonstrates executing multiple commands in a single line using a semicolon (;), including a for loop.echo "a"; for item in b c; do echo $item; donebash internalsyntax bash featurescommand composition
2bashThis demonstrates command composition in Bash by chaining multiple commands in a single line.echo "This is the first command"; echo "This is the second command" # => This is the first command # => This is the second commandbash internalsyntax bash featurescommand composition